package com.machine.filling.net.http.response;

/**
 * Created by Administrator on 2018/3/24 0024.
 */

public class AddOilGunResBean extends BaseHttpResponseBean {

    /**
     * result : {"gun":{"sellerId":1,"machineId":1,"portNum":"ttyS1","createD":"2018-03-24","num":"123","name":"右侧枪","typeId":1,"state":1,"id":23,"initAmount":11.1,"potId":1}}
     */

    private ResultBean result;

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public static class ResultBean {
        /**
         * gun : {"sellerId":1,"machineId":1,"portNum":"ttyS1","createD":"2018-03-24","num":"123","name":"右侧枪","typeId":1,"state":1,"id":23,"initAmount":11.1,"potId":1}
         */

        private GunBean gun;

        public GunBean getGun() {
            return gun;
        }

        public void setGun(GunBean gun) {
            this.gun = gun;
        }

        public static class GunBean {
            /**
             * sellerId : 1
             * machineId : 1
             * portNum : ttyS1
             * createD : 2018-03-24
             * num : 123
             * name : 右侧枪
             * typeId : 1
             * state : 1
             * id : 23
             * initAmount : 11.1
             * potId : 1
             */

            private String sellerId;
            private String machineId;
            private String portNum;
            private String createD;
            private String num;
            private String name;
            private String typeId;
            private String state;
            private String id;
            private String initAmount;
            private String potId;

            public String getSellerId() {
                return sellerId;
            }

            public void setSellerId(String sellerId) {
                this.sellerId = sellerId;
            }

            public String getMachineId() {
                return machineId;
            }

            public void setMachineId(String machineId) {
                this.machineId = machineId;
            }

            public String getPortNum() {
                return portNum;
            }

            public void setPortNum(String portNum) {
                this.portNum = portNum;
            }

            public String getCreateD() {
                return createD;
            }

            public void setCreateD(String createD) {
                this.createD = createD;
            }

            public String getNum() {
                return num;
            }

            public void setNum(String num) {
                this.num = num;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getTypeId() {
                return typeId;
            }

            public void setTypeId(String typeId) {
                this.typeId = typeId;
            }

            public String getState() {
                return state;
            }

            public void setState(String state) {
                this.state = state;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getInitAmount() {
                return initAmount;
            }

            public void setInitAmount(String initAmount) {
                this.initAmount = initAmount;
            }

            public String getPotId() {
                return potId;
            }

            public void setPotId(String potId) {
                this.potId = potId;
            }
        }
    }
}
